<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


<html>
	<head>
		<title>SISTEMA IMM</title>
	</head>

	<body>
	<f:view>
	<h:form >
		<h2>
		<h:outputText value="Login"/></h2>
	 	<h:panelGrid columns="2">
			<h:outputText id="id_nombre" value="Nombre"/>
			<h:inputText value="#{LoginBean.usuario}" />
			<h:outputText value="Password" />
			<h:inputSecret id="id_pass" value="#{LoginBean.password}"/>
			
			</h:panelGrid>
			
	
	<h:commandButton action="#{LoginBean.login}" id="btnlogin" value="Entrar" />
	<h:message for="btnlogin" showDetail="false" showSummary="true" />
	<h:messages globalOnly="true" errorStyle="list-style-type:none;color:Red;font-size:medium;" infoStyle="list-style-type:none;color:Blue;font-size:medium;"/>
	</h:form>
	</f:view> 
	</body>	
</html>